<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>

<html>

<head><title>Login Page</title></head>

	<body>
	
	<CENTER>
	<h1> Graduate School Application </h1>
	<h2> Login Page </h2>
	</CENTER>
	
		<form name="frmSignIn" method="POST" action="j_security_check">
		
			<table>
				<tr>
					<td>Username</td>
					<td>
						<input maxlength="20" size="12" name="j_username" type="text"/>
					</td>
				</tr>
				<tr>
					<td>Password</td>
					<td>
						<input maxlength="20" size="12" name="j_password" type="password"/>
					</td>
				</tr>
			</table>
			<input type="submit" value="Login"/>

<%
			session.setAttribute("visited", false);

%>
		
		<br> If you don't have a username yet, click 
		<a href= <%= application.getContextPath() + "/appReg.jsp" %> >here</a> to register.
		
		</form>
		
	</body>
</html>